//==============================================================================
// Copyright 2009 Sidney Shek All Rights Reserved
//==============================================================================
// SYSTEM:        ITEC824-MajorProject-Server
// FILE NAME:	  User.java
// DESCRIPTION:   
// AUTHOR:        sshek2
// CREATED:       17/04/2009
//
// REVISION HISTORY:
// $Author: $
// $Id:  $
//
//==============================================================================
//

package itec824.common.model;

/**
 * Contains information about a user in the system.
 *
 * @version $Revision: $
 * @author sshek2
 */
public class User
{
    /**
     * @return Returns the userId.
     */
    public int getUserId()
    {
        return myUserId;
    }
    /**
     * @param aUserId The userId to set.
     */
    public void setUserId(int aUserId)
    {
        myUserId = aUserId;
    }
    /**
     * @return Returns the userName.
     */
    public String getUserName()
    {
        return myUserName;
    }
    /**
     * @param aUserName The userName to set.
     */
    public void setUserName(String aUserName)
    {
        myUserName = aUserName;
    }
    /**
     * @return Returns the password.
     */
    public String getPassword()
    {
        return myPassword;
    }
    /**
     * @param aPassword The password to set.
     */
    public void setPassword(String aPassword)
    {
        myPassword = aPassword;
    }
    private int myUserId;
    private String myUserName;
    
    /** Password should be encrypted (e.g. MD5 hash)*/
    private String myPassword;
}
